package com.binary.coder.gift.core.interfaces.Invitation.dto.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author atao
 * @version 1.0.0
 * @ClassName InvitationCardAggreate.java
 * @Description 请柬查询结果
 * @createTime 2024年06月21日 16:41:00
 */
@Data
@Builder
@ApiModel("查询请帖卡片的响应实体")
public class QueryHandleInvitationRecordRes {

    @ApiModelProperty(value = "请帖实体")
    private QueryInvitationCardRes queryInvitationCardRes;

    @ApiModelProperty(value = "是否同意(0:否 1:是)", required = true, example = "1")
    private Integer agree;

    @ApiModelProperty(value = "参加日期（同意的时候选填）", required = false, example = "2024-07-15")
    private LocalDate dateOfDinner;

    @ApiModelProperty(value = "参加人数（同意的时候选填）", required = false, example = "5")
    private Integer peopleOfDinner;

    @ApiModelProperty(value = "拒绝参加的理由（不同意的时候选填）", required = false, example = "有其他安排")
    private String refuseReason;
}
